// 错误示例
class C {
  count: number = 0;

  getCount(): number {
    return this.count;
  }
}

// 正确示例
class C2 {
  private count: number = 0;

  public getCount(): number {
    return this.count;
  }
}
